<?php

/**
 * ubigeo actions.
 *
 * @package    cometa
 * @subpackage ubigeo
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class ubigeoActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request)
  {
      
  }
  
  public function executeGetCiudades(sfWebRequest $request)
  {
      $servicioUbigeo = new ubigeoClass();
      $idPais =  $request->getParameter('paisId');
      $this->listaCiudades = $servicioUbigeo->getListaCiudades($idPais);
      return sfView::SUCCESS;
  }     
  
}
